import request from '@/utils/request'

// 查询附件关联列表
export function listAtmAttachmentMulti(query) {
  return request({
    url: '/basic/atmAttachmentMulti/list',
    method: 'get',
    params: query
  })
}

// 查询附件关联详细
export function getAtmAttachmentMulti(recordId) {
  return request({
    url: '/basic/atmAttachmentMulti/' + recordId,
    method: 'get'
  })
}

// 新增附件关联
export function addAtmAttachmentMulti(data) {
  return request({
    url: '/basic/atmAttachmentMulti',
    method: 'post',
    data: data
  })
}

// 修改附件关联
export function updateAtmAttachmentMulti(data) {
  return request({
    url: '/basic/atmAttachmentMulti',
    method: 'put',
    data: data
  })
}

// 删除附件关联
export function delAtmAttachmentMulti(recordId) {
  return request({
    url: '/basic/atmAttachmentMulti/' + recordId,
    method: 'delete'
  })
}
